<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- For Mobile Devices -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <meta name="generator" content="Doxygen 1.8.15" />
    <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
    <title>DJI Onboard SDK: DJI::OSDK::Telemetry::RelativePosition Struct Reference</title>
    <!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
    <script type="text/javascript" src="dynsections.js"></script>
    <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
    <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
    <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
    <link rel="shortcut icon" href="favicon.png" type="image/x-icon" />
    <link rel="stylesheet" href="bootstrap.min.css">
    <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="bootstrap-theme.css">
    <script src="bootstrap.min.js"></script>
    <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
    <!-- SmartMenus jQuery plugin -->
    <script type="text/javascript" src="jquery.smartmenus.min.js"></script>
    <!-- SmartMenus jQuery Bootstrap Addon -->
    <script type="text/javascript" src="jquery.smartmenus.bootstrap.min.js"></script>
    <style>
        .has-submenu {
            position: relative;
        }
        #main-nav {
            margin-top: 60px;
        }
    </style>
</head>
<body>
    <nav id="site-header" class="site-header navbar">
        <div class="container">
            <div class="navbar-header"><a href="/" class="logo"><img src="dji-logo@2x.png">Developer</a></div>
            <div id="header-navbar" class="collapse navbar-collapse">
                <ul class="nav navbar-nav">
                    <li><a href="/mobile-sdk">Mobile SDK</a></li>
                    <li><a href="/ux-sdk">UX SDK</a></li>
                    <li><a href="/onboard-sdk">Onboard SDK</a></li>
                    <li><a href="/payload-sdk">Payload SDK</a></li>
                    <li><a href="/windows-sdk">Windows SDK</a></li>
                </ul>
                <ul v-cloak="" v-show="!loggedIn" class="nav navbar-nav navbar-right nav-user">
                    <li><a
                            href="https://account.dji.com/login?appId=dji_sdk&backUrl=https%3A%2F%2Fdeveloper.dji.com%2Fuser&locale=en_US">Login</a>
                    </li>
                    <li><a href="https://account.dji.com/register?appId=dji_sdk&backUrl=https%3A%2F%2Fdeveloper.dji.com%2Fuser&locale=en_US"
                            class="head-cta">Register</a></li>
                </ul>
                <ul v-cloak="" v-show="loggedIn" class="nav navbar-nav navbar-right nav-user">
                    <li class="hovedown"><a href="javascript:void(0);" class="hovedown-toggle"><i
                                class="fa fa-user"></i></a>
                        <ul class="hovedown-menu hovedown-menu-right">
                            <li><a href="/user">User Center</a></li>
                            <li><a href="javascript:void(0);" v-on="click: logout">Logout</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    <div data-offset-top="60" data-spy="affix" class="sub-nav">
        <div class="container">
            <h1 class="logo">Onboard SDK</h1>
            <nav><a href="/onboard-sdk">Overview</a><a href="/onboard-sdk/documentation">Documentation</a><a
                    href="/onboard-api-reference/index.html" class="active">API Reference</a><a
                    href="/onboard-sdk/downloads">Downloads</a>
            </nav>
        </div>
    </div>
    <!--<nav class="navbar navbar-default" role="navigation">-->
    <!--<div class="container">-->
    <!--<div class="navbar-header">-->
    <!--<a href="#" class="navbar-left"><img src="dji_logo_gray_small.png" alt="DJI OSDK API Documentation" width="32px"/></a>-->
    <!--<a class="navbar-brand" href="index.html">ONBOARD SDK 3.3</a>-->
    <!--</div>-->
    <!--</div>-->
    <!--</nav>-->
    <div id="top">
        <!-- do not remove this div, it is closed by doxygen! -->
        <div class="content" id="content">
            <div class="container">
                <div class="row">
                    <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                        <div style="margin-bottom: 15px;">
                            <!-- end header part --><!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceDJI.html">DJI</a></li><li class="navelem"><a class="el" href="namespaceDJI_1_1OSDK.html">OSDK</a></li><li class="navelem"><a class="el" href="namespaceDJI_1_1OSDK_1_1Telemetry.html">Telemetry</a></li><li class="navelem"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html">RelativePosition</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">DJI::OSDK::Telemetry::RelativePosition Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>struct for data broadcast, return obstacle info around the vehicle  
 <a href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="dji__telemetry_8hpp_source.html">dji_telemetry.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aa68db2362b63b441847f10e8425c3905"><td class="memItemLeft" align="right" valign="top">float32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#aa68db2362b63b441847f10e8425c3905">down</a></td></tr>
<tr class="separator:aa68db2362b63b441847f10e8425c3905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a533cecb0b4a52dde663d0e35b649bbd7"><td class="memItemLeft" align="right" valign="top">float32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a533cecb0b4a52dde663d0e35b649bbd7">front</a></td></tr>
<tr class="separator:a533cecb0b4a52dde663d0e35b649bbd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a163ff9dee89561b4d70e4693810c8020"><td class="memItemLeft" align="right" valign="top">float32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a163ff9dee89561b4d70e4693810c8020">right</a></td></tr>
<tr class="separator:a163ff9dee89561b4d70e4693810c8020"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf102a1a7e31ca6f22f499994bed7278"><td class="memItemLeft" align="right" valign="top">float32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#aaf102a1a7e31ca6f22f499994bed7278">back</a></td></tr>
<tr class="separator:aaf102a1a7e31ca6f22f499994bed7278"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad37c840d942444996a376e94f4a11a6d"><td class="memItemLeft" align="right" valign="top">float32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#ad37c840d942444996a376e94f4a11a6d">left</a></td></tr>
<tr class="separator:ad37c840d942444996a376e94f4a11a6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69ac12205c74bc918548b3e582a34fc8"><td class="memItemLeft" align="right" valign="top">float32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a69ac12205c74bc918548b3e582a34fc8">up</a></td></tr>
<tr class="separator:a69ac12205c74bc918548b3e582a34fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f8e1c11a41aa510140618dbb16846ab"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a8f8e1c11a41aa510140618dbb16846ab">downHealth</a>: 1</td></tr>
<tr class="separator:a8f8e1c11a41aa510140618dbb16846ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dd2678d0e53be264431e23d0534ada0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a4dd2678d0e53be264431e23d0534ada0">frontHealth</a>: 1</td></tr>
<tr class="separator:a4dd2678d0e53be264431e23d0534ada0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c7ec92042d784586e483f2857896af1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a3c7ec92042d784586e483f2857896af1">rightHealth</a>: 1</td></tr>
<tr class="separator:a3c7ec92042d784586e483f2857896af1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04b5d3a13fa32423830bfaa30e3de995"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a04b5d3a13fa32423830bfaa30e3de995">backHealth</a>: 1</td></tr>
<tr class="separator:a04b5d3a13fa32423830bfaa30e3de995"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a913749b83f2f9e987cddb823796e7812"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a913749b83f2f9e987cddb823796e7812">leftHealth</a>: 1</td></tr>
<tr class="separator:a913749b83f2f9e987cddb823796e7812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c80fb248c45c7fdfc7d6d840525b22d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a3c80fb248c45c7fdfc7d6d840525b22d">upHealth</a>: 1</td></tr>
<tr class="separator:a3c80fb248c45c7fdfc7d6d840525b22d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dc48a1cdc8d676b643c3064891dfb78"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structDJI_1_1OSDK_1_1Telemetry_1_1RelativePosition.html#a8dc48a1cdc8d676b643c3064891dfb78">reserved</a>: 2</td></tr>
<tr class="separator:a8dc48a1cdc8d676b643c3064891dfb78"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>struct for data broadcast, return obstacle info around the vehicle </p>
<dl class="section note"><dt>Note</dt><dd>available in M210 (front, up, down) </dd></dl>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="aaf102a1a7e31ca6f22f499994bed7278"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf102a1a7e31ca6f22f499994bed7278">&#9670;&nbsp;</a></span>back</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float32_t DJI::OSDK::Telemetry::RelativePosition::back</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>distance from obstacle (cm) </p>

</div>
</div>
<a id="a04b5d3a13fa32423830bfaa30e3de995"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04b5d3a13fa32423830bfaa30e3de995">&#9670;&nbsp;</a></span>backHealth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t DJI::OSDK::Telemetry::RelativePosition::backHealth</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Back sensor flag: 0 - not working, 1 - working </p>

</div>
</div>
<a id="aa68db2362b63b441847f10e8425c3905"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa68db2362b63b441847f10e8425c3905">&#9670;&nbsp;</a></span>down</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float32_t DJI::OSDK::Telemetry::RelativePosition::down</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>distance from obstacle (cm) </p>

</div>
</div>
<a id="a8f8e1c11a41aa510140618dbb16846ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f8e1c11a41aa510140618dbb16846ab">&#9670;&nbsp;</a></span>downHealth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t DJI::OSDK::Telemetry::RelativePosition::downHealth</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Down sensor flag: 0 - not working, 1 - working </p>

</div>
</div>
<a id="a533cecb0b4a52dde663d0e35b649bbd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a533cecb0b4a52dde663d0e35b649bbd7">&#9670;&nbsp;</a></span>front</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float32_t DJI::OSDK::Telemetry::RelativePosition::front</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>distance from obstacle (cm) </p>

</div>
</div>
<a id="a4dd2678d0e53be264431e23d0534ada0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dd2678d0e53be264431e23d0534ada0">&#9670;&nbsp;</a></span>frontHealth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t DJI::OSDK::Telemetry::RelativePosition::frontHealth</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Front sensor flag: 0 - not working, 1 - working </p>

</div>
</div>
<a id="ad37c840d942444996a376e94f4a11a6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad37c840d942444996a376e94f4a11a6d">&#9670;&nbsp;</a></span>left</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float32_t DJI::OSDK::Telemetry::RelativePosition::left</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>distance from obstacle (cm) </p>

</div>
</div>
<a id="a913749b83f2f9e987cddb823796e7812"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a913749b83f2f9e987cddb823796e7812">&#9670;&nbsp;</a></span>leftHealth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t DJI::OSDK::Telemetry::RelativePosition::leftHealth</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Left sensor flag: 0 - not working, 1 - working </p>

</div>
</div>
<a id="a8dc48a1cdc8d676b643c3064891dfb78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dc48a1cdc8d676b643c3064891dfb78">&#9670;&nbsp;</a></span>reserved</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t DJI::OSDK::Telemetry::RelativePosition::reserved</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Reserved sensor health flag </p>

</div>
</div>
<a id="a163ff9dee89561b4d70e4693810c8020"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a163ff9dee89561b4d70e4693810c8020">&#9670;&nbsp;</a></span>right</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float32_t DJI::OSDK::Telemetry::RelativePosition::right</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>distance from obstacle (cm) </p>

</div>
</div>
<a id="a3c7ec92042d784586e483f2857896af1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c7ec92042d784586e483f2857896af1">&#9670;&nbsp;</a></span>rightHealth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t DJI::OSDK::Telemetry::RelativePosition::rightHealth</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Right sensor flag: 0 - not working, 1 - working </p>

</div>
</div>
<a id="a69ac12205c74bc918548b3e582a34fc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69ac12205c74bc918548b3e582a34fc8">&#9670;&nbsp;</a></span>up</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float32_t DJI::OSDK::Telemetry::RelativePosition::up</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>distance from obstacle (cm) </p>

</div>
</div>
<a id="a3c80fb248c45c7fdfc7d6d840525b22d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c80fb248c45c7fdfc7d6d840525b22d">&#9670;&nbsp;</a></span>upHealth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t DJI::OSDK::Telemetry::RelativePosition::upHealth</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Up sensor health flag: 0 - not working, 1 - working </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>osdk-core/api/inc/<a class="el" href="dji__telemetry_8hpp_source.html">dji_telemetry.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
  <footer id="site-footer" class="site-footer">
    <div class="container">
      <div class="foot-nav row">
        <nav class="link-list col-xs-2"><span class="title">SDK</span><a href="/mobile-sdk">Mobile SDK</a><a href="/ux-sdk">UX SDK</a><a href="/onboard-sdk">Onboard SDK</a><a href="/payload-sdk">Payload SDK</a><a href="/windows-sdk">Windows SDK</a></nav>
        <nav class="link-list col-xs-2"><span class="title">Info</span><a href="/products">Products</a></nav>
        <nav class="link-list col-xs-2"><span class="title">Community</span><a href="http://stackoverflow.com/questions/tagged/dji-sdk" target="_blank">Stack Overflow</a><a href="https://www.youtube.com/channel/UCPQwN5xsob8zZGIcDhkYqUA" target="_blank">YouTube</a><a href="https://twitter.com/djidevelopers" target="_blank">Twitter</a></nav>
        <nav class="link-list col-xs-2"><span class="title">Contact Us</span><a href="mailto:dev@dji.com"> dev@dji.com</a></nav>
        <nav class="link-list col-xs-2"><span class="title">Business Cooperation</span><a href="mailto:dev@dji.com"> dev@dji.com</a></nav>
        <nav class="link-list col-xs-2"><span class="title">BILLING</span><a href="mailto:billing-dev@dji.com"> billing-dev@dji.com</a></nav>
      </div>
      <div class="foot-copyright row">
        <div class="col-xs-3 foot-logo"><img src="dji-logo-foot.png"></div>
        <div class="copyright col-xs-7"><span>Copyright © 2018 DJI All Rights Reserved</span><a href="/policies/privacy">Privacy Policy</a><a href="/policies/terms">Terms of Use</a></div>
        <div class="col-xs-2">
          <div class="lang-selector">
            <select dir="rtl" v-model="lang">
              <option value="en">English</option>
              <option value="cn">中文</option>
            </select><i class="fa fa-globe"></i>
          </div>
        </div>
      </div>
    </div>
  </footer>
</small></address>
</body>
<script type="text/javascript" src="doxy-boot.js"></script>
</html>
